package com.zi.experttalk.experttalk.View;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.Window;
import android.widget.Button;
import android.widget.EditText;
import com.zi.experttalk.experttalk.R;

/**
 * Created by lenovo on 2014/12/10.
 */
public class UserActivity extends Activity {
    private EditText user_userEmail_EditText;
    private EditText user_userPassWord_EditText;
    private Button user_login_Buttton;
    private Button user_registe_Button;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        requestWindowFeature(Window.FEATURE_NO_TITLE);
        setContentView(R.layout.user);
        user_userEmail_EditText = (EditText) findViewById(R.id.user_userEmail_EditText);
        user_userPassWord_EditText = (EditText) findViewById(R.id.user_userPassWord_EditText);
        user_login_Buttton = (Button) findViewById(R.id.user_login_Buttton);
        user_registe_Button = (Button) findViewById(R.id.user_registe_Button);


        user_registe_Button.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent = new Intent(UserActivity.this,RegisterActivity.class);

                startActivity(intent);

            }
        });
    }
}
